package com.fortune.dal.dao;

import com.fortune.dal.model.Bank;
import com.fortune.dal.model.Card;

import java.util.List;

public interface CardDAO {

    void insert(Card card) throws Exception;

    Long deleteById(Integer id) throws Exception;

    Long updateById(Card bank) throws Exception;

    List<Card> queryByModel(Card card) throws Exception;

    Card queryById(Integer id) throws Exception;

}
